Fix watching directories using w32notify.c.
authorEli Zaretskii <eliz@gnu.org>
Wed, 27 Nov 2013 16:03:02 +0000 (18:03 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 27 Nov 2013 16:03:02 +0000 (18:03 +0200)
commit12912ebc86dcf8e653c44f82eab3ca2ac4cee6a9
treef310314e9d69e472cc8bd44b8dbb0da3143d24bd
parente85e909a738478574de0c656b0e357160f1a94c7
Fix watching directories using w32notify.c.

 src/w32notify.c (Fw32notify_add_watch): If the argument FILE is a
 directory, watch it and not its parent.
 (add_watch): Allow empty string in FILE.

 lisp/filenotify.el (file-notify-add-watch): Don't special-case
 w32notify when computing the directory to watch.
lisp/ChangeLog
lisp/filenotify.el
src/ChangeLog
src/w32notify.c